<template>
	<view class="container">
		<view class="header">
			<view class="h-left">
				<input type="number" v-model="phone" placeholder="输入手机号码搜索" />
			</view>
			<view class="h-right" @click="getUserInfo">搜索</view>
		</view>
		
		<view class="boxS jiag" v-if="list.length>0">
			<view class="jiag-h"  >
				搜索结果
			</view>
			<scroll-view scroll-y style="height: 90%;width: 100%;" @scrolltolower="$u.throttle(reachBottom, 500)">
			<view class="jiag-item" @tap="select(it)" v-for="(it,index) in list" :key='index'>
				<view class="jiag-item-img">
					<image :src="it.headPortrait"></image>
				</view>
				<view class="jiag-item-mid">
					<view>
						<text>姓名：</text>
						<text>{{it.truename}}</text>
					</view>
					<view style="margin-top: 14rpx;">
						<text>电话：</text>
						<text>{{it.mobile}}</text>
						
					</view>
					<view style="margin-top: 14rpx;">
						<text>公司：</text>
						<text>{{it.store_name | cutString(30)}}</text>
					</view>
				</view>
				<view class="fengeImg inline-block">
					<u-icon name="arrow-right" color="#9A9A9A" size="24rpx"></u-icon>
				</view>
				<!-- <image class="fengeImg" :src="Core.globalImgUrlBussfiles+'/sxy/Sxy_submitOrder/you@2x.png'" mode=""></image> -->
			</view>
			<u-loadmore v-if="list.length > 0" :status="loadStatus[loadStatusId]" bgColor="#fff"></u-loadmore>
			</scroll-view>
		
			
		</view>
		<view class="nowrap" v-else>
			<image class="noconent" src="../../static/img/images/tu.png" mode=""></image>
			<view class="">
				请输入手机号搜索用户！
			</view>
		</view>
	</view>
</template>

<script src="./selectUser.js"></script>
<style lang="scss" scoped>
	@import './selectUser.scss';
</style>
